package com.example.template.core.utils;
/**
 * Description:
 * Created by Meko on 2019/3/821:09
 * Version 1.0
 */

import java.text.SimpleDateFormat;
import java.util.Date;


/**
 * @ClassName DateUtil
 * @Description TODO
 * @Author Meko
 * @Date 2019/3/8 21:09
 * @Version 1.0
 **/
public class DateUtil {

    public static Date birthdayFormat(String dateString)throws Exception{
        SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd");
        return formatter.parse(dateString);
    }
}
